from random import random
from typing import List


class TimeInterferencer:
    channel_offset: float

    def __init__(self, channel_offset: float):
        print("TimeInterference Constructed")
        self.channel_offset = channel_offset

    def intervene(self, sequence: List[float]):
        for i in range(len(sequence)):
            sequence[i] += (random() * 2 - 1) * self.channel_offset
